package com.x.provider.statistic.component;

import org.springframework.stereotype.Component;

@Component
public class KafkaConsumer {

//    private final StatisticTotalService statisticTotalService;
//
//    public KafkaConsumer(StatisticTotalService statisticTotalService){
//        this.statisticTotalService = statisticTotalService;
//    }

//    @KafkaListener(topics = StatisticEventTopic.TOPIC_NAME_STAT_INC_METRIC_VALUE_EVENT)
//    public void receive(MetricValueIncEvent event) {
//        statisticTotalService.onStatTotal(event);
//    }
}
